package com.cgtu.cgtucalculator.util;

public class Operator {
    public static final int Ope_Length=4;  //定义最大操作符号长度
    public static final int Ope_MaxNUM=3;  //最大操作数
   private final String operatorStr;
   private final int priority;
   private final int opeNum;

    public Operator(String operatorStr, int priority, int opeNum) {
        this.operatorStr = operatorStr;
        this.priority = priority;

        this.opeNum = opeNum;
    }
    public String getOperatorStr() {
        return operatorStr;
    }
    public int getPriority() {
        return priority;
    }
    public int getOpeNum() {
        return opeNum;
    }
}
